/* eslint-disable */
// @ts-ignore
import request from '@/utils/request';
import { CustomRequestOptions } from '@/interceptors/request';

import * as API from './types';

/** 获取推荐 GET /tourism/client/c/recommend/getrecommend */
export async function getRecommendUsingGet1({
  params,
  options,
}: {
  // 叠加生成的Param类型 (非body参数openapi默认没有生成对象)
  params: API.getRecommendUsingGET1Params;
  options?: CustomRequestOptions;
}) {
  return request<API.CommonResultPageBizRecommend_>(
    '/tourism/client/c/recommend/getrecommend',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}

/** 详情 GET /tourism/client/c/recommend/info */
export async function detailUsingGet3({
  params,
  options,
}: {
  // 叠加生成的Param类型 (非body参数openapi默认没有生成对象)
  params: API.detailUsingGET3Params;
  options?: CustomRequestOptions;
}) {
  return request<API.CommonResultBizRecommend_>(
    '/tourism/client/c/recommend/info',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}
